package com.ylr.blog.common.vo.browse_blog;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-06-13 15:33:27
 * className: BrowseBlogVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
@ToString
public class BrowseBlogVo {

    /**
     * 博客主键
     */
    @NotNull(message = "博客主键不能为空")
    private Long blogId;

    /**
     * 博客编号
     */
    @NotBlank(message = "博客编号不能为空")
    private String bode;

    /**
     * 用户主键
     */
    private Long userId;

}
